//
//  SPFriendCell.m
//  Sport
//
//  Created by Cass on 2018/1/11.
//  Copyright © 2018年 Cass. All rights reserved.
//

#import "SPFriendCell.h"
#import "SPStateViewController.h"
@implementation SPFriendCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

+(instancetype)cellWithTableView:(UITableView *)tableView{
    static NSString *ID = @"cell";
    SPFriendCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    if (!cell) {
        cell = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([SPFriendCell class]) owner:nil options:nil]lastObject];
    }
    return cell;
}
- (IBAction)stateClick:(id)sender {
//    SPStateViewController *stateVC = [[UIStoryboard storyboardWithName:@"Mine" bundle:[NSBundle mainBundle]] instantiateViewControllerWithIdentifier:NSStringFromClass([SPStateViewController class])];
//    stateVC.title = @"我的动态";
//    [self.navigationController pushViewController:stateVC animated:YES];

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
